﻿using System.ComponentModel.DataAnnotations;
using System;
using System.ComponentModel.DataAnnotations.Schema;

namespace Web.Models.CoreData
{
    /// <summary>
    /// 
    /// </summary>
    [Table("tUserVessel")]
    public class UserVessel
    {
        /// <summary>
        /// 消息唯一标识
        /// </summary>
        [Key]
        [DatabaseGenerated(DatabaseGeneratedOption.None)]
        [Column("id")]
        public String Id { get; set; }

        /// <summary>
        /// 用户id
        /// </summary>
        [Column("userid")]
        public String userId { get; set; }

        /// <summary>
        /// mmsi
        /// </summary>
        [Column("mmsi")]
        public String MMSI { get; set; }

        /// <summary>
        /// 注册码
        /// </summary>
        [Column("expirationDate")]
        public long expirationDate { get; set; }

    }
}
